Change how event channels are allocated and used by the control
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 6 Oct 2005 15:07:52 +0000 (16:07 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Thu, 6 Oct 2005 15:07:52 +0000 (16:07 +0100)
commitc804adf4b64a5755c885b681c32591d2e67aa636
tree618b3e8823bd2cbbba9091988dab2c4ab102cf7c
parent0c6f366280979dae46309b894d21b2c99fa5e816
Change how event channels are allocated and used by the control
tools. /dev/xen/evtchn is now used by daemons to connect to
remote domains: the advantage is that the local ports are garbage
collected automatically if the daemon dies. xen no longer
constructs end-to-end event-channel port pairs -- it allocates an
unbound port in new domU and writes that port to xenstore. It is
then picked up by teh appropriate daemon which does interdomain bind
via /dev/xen/evtchn.

Signed-off-by: Keir Fraser <keir@xensource.com>
15 files changed:
linux-2.6-xen-sparse/drivers/xen/evtchn/evtchn.c
linux-2.6-xen-sparse/include/asm-xen/evtchn.h
linux-2.6-xen-sparse/include/asm-xen/linux-public/evtchn.h [new file with mode: 0644]
linux-2.6-xen-sparse/include/asm-xen/linux-public/privcmd.h
tools/console/daemon/io.c
tools/debugger/pdb/pdb_xen.c
tools/ioemu/target-i386-dm/helper2.c
tools/ioemu/vl.c
tools/python/xen/lowlevel/xc/xc.c
tools/python/xen/xend/XendCheckpoint.py
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xend/image.py
tools/python/xen/xend/server/channel.py [deleted file]
tools/xenstore/xenstored_domain.c
xen/common/event_channel.c